<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"
            "http://www.w3.org/TR/REC-html40/loose.dtd">
<HTML>
<HEAD>



<META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<META name="GENERATOR" content="hevea 1.08">
<LINK rel="stylesheet" type="text/css" href="embroot.css">
<TITLE>
Creating External Predicates in C
</TITLE>
</HEAD>
<BODY >
<A HREF="embroot079.html"><IMG SRC ="previous_motif.gif" ALT="Previous"></A>
<A HREF="embroot073.html"><IMG SRC ="contents_motif.gif" ALT="Up"></A>
<A HREF="embroot081.html"><IMG SRC ="next_motif.gif" ALT="Next"></A>
<HR>

<H2 CLASS="section"><A NAME="htoc145">C.7</A>&nbsp;&nbsp;Creating External Predicates in C</H2>
This function serves the same purpose as the ECL<SUP><I>i</I></SUP>PS<SUP><I>e</I></SUP> built-in external/2:
<DL CLASS="description" COMPACT=compact><DT CLASS="dt-description">
<B>int ec_external(dident pred, int(*fct)(), dident module)</B><DD CLASS="dd-description"><BR>
	Creates a predicate pred in the given module, whose C/C++
	implementation is the function fct (see chapter <A HREF="embroot012.html#chapext">4</A>
	for how to write such functions). The module must exist.
	Return code is PSUCCEED or an error code.
</DL>
<HR>
<A HREF="embroot079.html"><IMG SRC ="previous_motif.gif" ALT="Previous"></A>
<A HREF="embroot073.html"><IMG SRC ="contents_motif.gif" ALT="Up"></A>
<A HREF="embroot081.html"><IMG SRC ="next_motif.gif" ALT="Next"></A>
</BODY>
</HTML>
